package pl.asoft.nbp.service;

import pl.asoft.nbp.model.ExchangeRate;

import java.util.Collection;
import java.util.Date;
/**
 * Created by rbiedrawa on 2014-12-01.
 */
public interface NbpService {

    String URL = "http://www.nbp.pl/kursy/xml/";
    String URL_SUFFIX = ".xml";
    String URL_DIR = "http://www.nbp.pl/kursy/xml/dir.txt";

    ExchangeRate getExchangeRate(String currency);
    Collection<ExchangeRate> getExchangeRate(String currency, Date startDate, Date endDate);

}
